.class Lcom/instagram/android/mediacache/k;
.super Ljava/lang/Object;
.source "IgProgressImageView.java"

# interfaces
.implements Lcom/instagram/android/mediacache/h;


# instance fields
.field final synthetic a:Lcom/instagram/android/mediacache/i;


# direct methods
.method constructor <init>(Lcom/instagram/android/mediacache/i;)V
    .locals 0
    .parameter

    .prologue
    .line 86
    iput-object p1, p0, Lcom/instagram/android/mediacache/k;->a:Lcom/instagram/android/mediacache/i;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 2
    .parameter

    .prologue
    const/4 v1, 0x1

    .line 90
    iget-object v0, p0, Lcom/instagram/android/mediacache/k;->a:Lcom/instagram/android/mediacache/i;

    invoke-virtual {v0}, Lcom/instagram/android/mediacache/i;->getDisplayedChild()I

    move-result v0

    if-eq v0, v1, :cond_0

    .line 91
    iget-object v0, p0, Lcom/instagram/android/mediacache/k;->a:Lcom/instagram/android/mediacache/i;

    invoke-virtual {v0, v1}, Lcom/instagram/android/mediacache/i;->setDisplayedChild(I)V

    .line 93
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/mediacache/k;->a:Lcom/instagram/android/mediacache/i;

    invoke-static {v0}, Lcom/instagram/android/mediacache/i;->b(Lcom/instagram/android/mediacache/i;)Landroid/widget/ProgressBar;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/widget/ProgressBar;->setProgress(I)V

    .line 94
    return-void
.end method
